import { PrismaClient } from "@prisma/client";
import { Random } from 'mockjs'
import { create } from '../help'


export async function category(){
    await create(5,async (prisma:PrismaClient)=>{
        await prisma.category.create({
            data:{
                title:Random.string()
            }
        })
    })
}